public class Bankaccount
{
	private String login;
	private String password;
	private static int totalUsers;
	private static Bankaccount[] allUsers = Bankaccount[100]
	
	public void setPassword(String password, String newpassword)
	{
		if (validatePassword(password))
		{
			this.password = newpassword;
		}
		else
		{
			System.out.println("Sorry! Wrong Password!");
		}
	}
	
	public boolean validatePassword(String password)
	{
		if (this.password == password)
			return true;
		else
			return false;
	}
	
	public Bankaccount(String User, String password)
	{
		this.login = User;
		this.password = password;
		totalUsers += 1;
	}
	
	public Bankaccount(String User, String password, String Master)
	{
		this.login = User;
		this.password = password;
	}
	
	public int getTotalUsers()
	{
		return totalUsers;
	}
		
		
	
	